<?php
      class Post_Block {
          function startPost() {
              echo "<input type='hidden' name='post' value='".md5(uniqid(rand(), true))."'/>";
          }
		  
          function postBlock($postID,$session) {
            
              if(isset($session)) 
			  {
	
                  if ($postID == $session) 
				  {
                      return NULL;
                  } 
				  else 
				  {
                      $session = $postID;
                      return $session;
                  }
              } 
			  else 
			  {
                  $session = $postID;
                  return $session;
              }
          }
      }
 ?>